import {Module} from "@nestjs/common";
import {TypeOrmModule} from "@nestjs/typeorm";
import {SysUser} from "../entity/SysUser";
import {SysUserService} from "../service/SysUserService";
import {SysUserController} from "../controller/SysUserController";
import {JwtAuthGuardProvider} from "../auth/guard/GlobalGuardProvider";
import {SysUserDto} from "../dto/SysUserDto";

@Module({
    imports: [
        TypeOrmModule.forFeature([
            SysUser,
        ])
    ],
    controllers: [ SysUserController ],
    providers:[
        SysUserService,
        JwtAuthGuardProvider
    ],
    exports: [ SysUserService ]
})
export class SysUserModule{}
